package course;

public class Test {
    public static void main(String[] args) {
        Student XiaoMing =new Student(20200001,"XiaoMing","MALE");
        Teacher ZHAO = new Teacher(1111, "ZHAO", "MALE");
        Teacher QIAN = new Teacher(2222, "QIAN", "FEMALE");
        Teacher SUN = new Teacher(3333, "SUN", "FEMALE");
        Teacher LI = new Teacher(4444, "LI", "MALE");
        Course JAVA= new Course(001,"JAVA","教101","Tuesday Section 1","ZHAO",2);
        Course Linux= new Course(002,"Linux","教201","Thursday Section 1","QIAN",2);
        Course Math= new Course(003,"Math","教301","Monday Section 1","SUN",3);
        Course Art= new Course(004,"Art","教401","Friday, section 5","LI",1);
        ZHAO.addTeachCourse(JAVA);
        QIAN.addTeachCourse(Linux);
        SUN.addTeachCourse(Math);
        LI.addTeachCourse(Art);
        XiaoMing.choseCourse(JAVA);
        XiaoMing.choseCourse(Linux);
        XiaoMing.choseCourse(Art);
        XiaoMing.removeCourse(JAVA);
        XiaoMing.choseCourse(Art);
        XiaoMing.displayCourse();
        //测试主类
    }
}
